package com.oneonefive.trainticketsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.oneonefive.trainticketsystem.pojo.Refund;
import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;
import java.util.List;


@Mapper
public interface RefundMapper extends BaseMapper<Refund> {
    void insertRefund(Integer refundId, Integer ticketId, Timestamp refundTime,Integer userId);
    List<Refund> selectAllRefund(Integer refundId, Integer ticketId,Integer userId,int rowCount);
    int getRefRowCount(Integer refundId, Integer ticketId, Integer userId);
}




